package com.banzhi.shop.data;

import java.util.List;

/**
 * Created by Administrator on 2018/7/31.
 */

public class GroupingIndexData2 {

    /**
     * code : 0
     * msg : 操作成功
     * data : {"groups":[{"id":45,"status":1,"title":"测试","groupsprice":"15.00","freight":"1.00","profit":"10.00","groupnum":5,"sales":0,"showstock":1,"stock":20,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/qNDSF4TMsooSfs4DK9S1O5145Stt9N.png","endtime":100,"createtime":1533032046,"openprice":"1.00","displayorder":0,"endstr":1533392046,"nowstr":1533044846},{"id":34,"status":1,"title":"1313","groupsprice":"15.00","freight":"1.00","profit":"10.00","groupnum":3,"sales":0,"showstock":1,"stock":0,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/WugfZ5Pzy5qB5QXBxjf5byy0buS0jX.png","endtime":2,"createtime":1532510739,"openprice":"0.50","displayorder":11111,"endstr":1532517939,"nowstr":1533044846},{"id":41,"status":1,"title":"20180730测试1","groupsprice":"10.00","freight":"0.00","profit":"1.00","groupnum":3,"sales":0,"showstock":1,"stock":27,"thumb":"","endtime":24,"createtime":1532945124,"openprice":"8.00","displayorder":9999,"endstr":1533031524,"nowstr":1533044846},{"id":33,"status":1,"title":"123123","groupsprice":"5.00","freight":"6.00","profit":"1.00","groupnum":2,"sales":0,"showstock":1,"stock":0,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/RCaXkab166U163XJjj6J6K6CZ81uj6.png","endtime":24,"createtime":1532504229,"openprice":"0.01","displayorder":9999,"endstr":1532590629,"nowstr":1533044846},{"id":32,"status":1,"title":"【特卖】【2袋装纯天然配方】泽达健康 十五鹿红豆薏米茶袋泡茶浙大研制140g/袋*2袋（2018年5月产）","groupsprice":"65.00","freight":"6.00","profit":"5.00","groupnum":3,"sales":0,"showstock":1,"stock":11,"thumb":"http://img.banzhishenghuo.com/images/3/2018/06/ZWUCZnn0Du6R167w7zzmRN8NW5zymN.jpg","endtime":24,"createtime":1532502042,"openprice":"1.00","displayorder":8888,"endstr":1532588442,"nowstr":1533044846},{"id":31,"status":1,"title":"【品牌团】【6袋组合】洽洽 葵珍瓜子零食炒货葵花籽五香味恰恰瓜子葵珍98g/袋6袋","groupsprice":"39.90","freight":"6.00","profit":"3.00","groupnum":3,"sales":9,"showstock":1,"stock":114,"thumb":"http://img.banzhishenghuo.com/images/3/2018/06/dVA4AxQv2K3j9kvA6jCq9904JqvAac.jpg","endtime":12,"createtime":1532399257,"openprice":"35.90","displayorder":2224,"endstr":1532442457,"nowstr":1533044846},{"id":30,"status":1,"title":"【养发控油】青茶萃 山茶精华无硅油配方养护发根无刺激洗发水500ml/瓶","groupsprice":"59.00","freight":"0.00","profit":"5.00","groupnum":3,"sales":0,"showstock":1,"stock":123,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/K5U6uX5z4f5764wZu6xWdS6u67055u.jpg","endtime":4,"createtime":1532401900,"openprice":"49.00","displayorder":2223,"endstr":1532416300,"nowstr":1533044846},{"id":29,"status":1,"title":"【CC霜+粉扑组合】慧心莲cc霜 持久保湿遮瑕提亮肤色裸妆粉底液","groupsprice":"169.00","freight":"0.00","profit":"15.00","groupnum":3,"sales":0,"showstock":1,"stock":13,"thumb":"http://img.banzhishenghuo.com/images/3/2018/06/HpSH1wIA6apPS55itxpxEpZw6hv9ps.jpg","endtime":24,"createtime":1532399114,"openprice":"139.00","displayorder":2222,"endstr":1532485514,"nowstr":1533044846},{"id":25,"status":1,"title":"【两条装】无忧茵 莫代尔打底裤七分裤 会呼吸的面料 显瘦高腰裤","groupsprice":"49.00","freight":"0.00","profit":"5.00","groupnum":2,"sales":0,"showstock":1,"stock":123,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/GW93Qenm219RQM3fE07Z1m4TGgL39M.jpg","endtime":240,"createtime":1531550605,"openprice":"39.99","displayorder":999,"endstr":1532414605,"nowstr":1533044846},{"id":14,"status":1,"title":"【特卖】【便携小风扇】荣事达 手持usb小电风扇 迷你充电学生宿舍桌面床上静音随身","groupsprice":"35.00","freight":"0.00","profit":"10.00","groupnum":2,"sales":2,"showstock":1,"stock":0,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/qHMB6H8zBGwBZhUbMEHzX8auB6AAez.jpg","endtime":24,"createtime":1530673302,"openprice":"25.00","displayorder":444,"endstr":1530759702,"nowstr":1533044846},{"id":43,"status":1,"title":"20180730测试3","groupsprice":"38.00","freight":"6.00","profit":"10.00","groupnum":2,"sales":4,"showstock":1,"stock":80,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/qNDSF4TMsooSfs4DK9S1O5145Stt9N.png","endtime":24,"createtime":1532945333,"openprice":"35.00","displayorder":222,"endstr":1533031733,"nowstr":1533044846},{"id":42,"status":1,"title":"20180730测试2","groupsprice":"1.00","freight":"0.00","profit":"1.00","groupnum":3,"sales":3,"showstock":1,"stock":20,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/dA0U55xxH1A5HiLn0ljnHuh1upt1L1.png","endtime":24,"createtime":1532945233,"openprice":"1.00","displayorder":222,"endstr":1533031633,"nowstr":1533044846},{"id":26,"status":1,"title":"【4条装内裤】宝娜斯男士平角内裤舒适高档商务男士内裤","groupsprice":"58.00","freight":"0.00","profit":"10.00","groupnum":2,"sales":0,"showstock":0,"stock":111,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/w6kp5gK39uP3SkDo6839zd36uulsGM.jpg","endtime":24,"createtime":1531792143,"openprice":"50.00","displayorder":111,"endstr":1531878543,"nowstr":1533044846},{"id":23,"status":1,"title":"【端午大放价】【团购送礼 5盒装】真真老老 送礼团购 公司福利必备(12个粽+4个鸭蛋 1240g)/盒 (2018年4月产)","groupsprice":"285.00","freight":"0.00","profit":"200.00","groupnum":2,"sales":0,"showstock":1,"stock":13,"thumb":"http://img.banzhishenghuo.com/images/3/2018/06/Gxc98DcynDnTGniggKGCz99gGMx9y2.jpg","endtime":23,"createtime":1530859636,"openprice":"220.00","displayorder":99,"endstr":1530942436,"nowstr":1533044846},{"id":22,"status":1,"title":"【100%牛皮】PRODOCHILD男士牛皮皮带彰显男士风范","groupsprice":"79.00","freight":"0.00","profit":"10.00","groupnum":2,"sales":0,"showstock":1,"stock":133,"thumb":"http://img.banzhishenghuo.com/images/3/2017/12/rh5N998h7Qc72H79H552c95BhCF959.jpg","endtime":12,"createtime":1530774125,"openprice":"59.00","displayorder":99,"endstr":1530817325,"nowstr":1533044846},{"id":19,"status":1,"title":"【偏光驾车镜】 瑞格丽特 时尚男款防紫外线太阳眼镜偏光镜驾车镜蛤蟆镜","groupsprice":"179.00","freight":"0.00","profit":"20.00","groupnum":3,"sales":1,"showstock":1,"stock":23,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/H054jM488MJWeS48Z5555mWJKjysZ4.jpg","endtime":24,"createtime":1530756911,"openprice":"150.00","displayorder":34,"endstr":1530843311,"nowstr":1533044846},{"id":16,"status":1,"title":"【2支组合装】云南三七 儿童草莓牙膏 50克/支*2","groupsprice":"23.12","freight":"0.00","profit":"9.90","groupnum":3,"sales":2,"showstock":1,"stock":118,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/iEvoaooZViu3lzIXzazm44VV3QVnM3.jpg","endtime":24,"createtime":1530686596,"openprice":"20.00","displayorder":34,"endstr":1530772996,"nowstr":1533044846},{"id":15,"status":1,"title":"【特卖】【眼部SPA】慧心莲 恒温发热眼罩 +精油 缓解眼疲劳（有效期至2021年3月）","groupsprice":"49.23","freight":"0.00","profit":"15.12","groupnum":3,"sales":3,"showstock":1,"stock":21,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/ItFaU913XajTk6P9Wgg5D9gDKzg21Z.jpg","endtime":24,"createtime":1530686523,"openprice":"39.00","displayorder":24,"endstr":1530772923,"nowstr":1533044846},{"id":24,"status":1,"title":"【无化学残留】真橙洗洁精 天然安全无化学残留 食品级洗碗可用 不伤手500ml/瓶","groupsprice":"38.00","freight":"0.00","profit":"10.00","groupnum":2,"sales":0,"showstock":0,"stock":222,"thumb":"http://og239uizp.bkt.clouddn.com/bf75eaf163c1ad26daa1f74e19937de2.jpg","endtime":23,"createtime":1531533279,"openprice":"28.00","displayorder":20,"endstr":1531616079,"nowstr":1533044846},{"id":11,"status":1,"title":"test测试1231","groupsprice":"0.01","freight":"0.00","profit":"0.05","groupnum":2,"sales":0,"showstock":1,"stock":10,"thumb":"http://img.banzhishenghuo.com/images/3/2018/05/I6j6po1J6pP0cCdc477DO876HCD8p4.png","endtime":24,"createtime":1530178782,"openprice":"0.01","displayorder":15,"endstr":1530265182,"nowstr":1533044846}],"groupsadv":[{"id":4,"uniacid":3,"advname":"换灯片2","link":"4126","thumb":"http://img.banzhishenghuo.com/images/3/2018/03/kFpSN5fU65e69sE22BEsnN5NvuopfU.jpg","displayorder":2,"enabled":1,"linktype":2},{"id":3,"uniacid":3,"advname":"123","link":"http://www.baidu.com","thumb":"http://img.banzhishenghuo.com/images/3/2018/05/i69GpY1ziGZs4G1Oqi2WIO2ZWqo6gN.png","displayorder":1,"enabled":1,"linktype":1}]}
     */

    private String code;
    private String msg;
    private GroupingIndexBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public GroupingIndexBean getData() {
        return data;
    }

    public void setData(GroupingIndexBean data) {
        this.data = data;
    }

    public static class GroupingIndexBean {
        private List<GroupsBean> groups;
        private List<GroupsadvBean> groupsadv;

        public List<GroupsBean> getGroups() {
            return groups;
        }

        public void setGroups(List<GroupsBean> groups) {
            this.groups = groups;
        }

        public List<GroupsadvBean> getGroupsadv() {
            return groupsadv;
        }

        public void setGroupsadv(List<GroupsadvBean> groupsadv) {
            this.groupsadv = groupsadv;
        }

        public static class GroupsBean {
            /**
             * id : 45
             * status : 1
             * title : 测试
             * groupsprice : 15.00
             * freight : 1.00
             * profit : 10.00
             * groupnum : 5
             * sales : 0
             * showstock : 1
             * stock : 20
             * thumb : http://img.banzhishenghuo.com/images/3/2018/05/qNDSF4TMsooSfs4DK9S1O5145Stt9N.png
             * endtime : 100
             * createtime : 1533032046
             * openprice : 1.00
             * displayorder : 0
             * endstr : 1533392046
             * nowstr : 1533044846
             */

            private String id;
            private String status;
            private String title;
            private String groupsprice;
            private String freight;
            private String profit;
            private String groupnum;
            private String sales;
            private String showstock;
            private String stock;
            private String thumb;
            private int endtime;
            private int createtime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getGroupsprice() {
                return groupsprice;
            }

            public void setGroupsprice(String groupsprice) {
                this.groupsprice = groupsprice;
            }

            public String getFreight() {
                return freight;
            }

            public void setFreight(String freight) {
                this.freight = freight;
            }

            public String getProfit() {
                return profit;
            }

            public void setProfit(String profit) {
                this.profit = profit;
            }

            public String getGroupnum() {
                return groupnum;
            }

            public void setGroupnum(String groupnum) {
                this.groupnum = groupnum;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getShowstock() {
                return showstock;
            }

            public void setShowstock(String showstock) {
                this.showstock = showstock;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public int getEndtime() {
                return endtime;
            }

            public void setEndtime(int endtime) {
                this.endtime = endtime;
            }

            public int getCreatetime() {
                return createtime;
            }

            public void setCreatetime(int createtime) {
                this.createtime = createtime;
            }

            public String getOpenprice() {
                return openprice;
            }

            public void setOpenprice(String openprice) {
                this.openprice = openprice;
            }

            public String getDisplayorder() {
                return displayorder;
            }

            public void setDisplayorder(String displayorder) {
                this.displayorder = displayorder;
            }

            public int getEndstr() {
                return endstr;
            }

            public void setEndstr(int endstr) {
                this.endstr = endstr;
            }

            public int getNowstr() {
                return nowstr;
            }

            public void setNowstr(int nowstr) {
                this.nowstr = nowstr;
            }

            private String openprice;
            private String displayorder;
            private int endstr;
            private int nowstr;


        }

        public static class GroupsadvBean {
            /**
             * id : 4
             * uniacid : 3
             * advname : 换灯片2
             * link : 4126
             * thumb : http://img.banzhishenghuo.com/images/3/2018/03/kFpSN5fU65e69sE22BEsnN5NvuopfU.jpg
             * displayorder : 2
             * enabled : 1
             * linktype : 2
             */

            private String id;
            private String uniacid;
            private String advname;
            private String link;
            private String thumb;
            private String displayorder;
            private String enabled;
            private String linktype;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUniacid() {
                return uniacid;
            }

            public void setUniacid(String uniacid) {
                this.uniacid = uniacid;
            }

            public String getAdvname() {
                return advname;
            }

            public void setAdvname(String advname) {
                this.advname = advname;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getDisplayorder() {
                return displayorder;
            }

            public void setDisplayorder(String displayorder) {
                this.displayorder = displayorder;
            }

            public String getEnabled() {
                return enabled;
            }

            public void setEnabled(String enabled) {
                this.enabled = enabled;
            }

            public String getLinktype() {
                return linktype;
            }

            public void setLinktype(String linktype) {
                this.linktype = linktype;
            }
        }
    }
}
